package com.ruipeng.domain.service.impl;

import com.ruipeng.domain.mapper.dao.UserMapper;
import com.ruipeng.domain.models.model.User;
import com.ruipeng.domain.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by tu_pei on 2017/7/3.
 */
@Service
public class UserServiceImpl implements UserService{

    @Autowired
    private UserMapper userMapper;

    @Override
    public User getUserInfoByUserId(User user) {
        return userMapper.getUserInfoByUserId(user);
    }
}
